
using UnityEngine;

public class FixedWindowSize : MonoBehaviour
{
#if UNITY_STANDALONE_WIN
    void Start()
    {
        // 仅在Windows独立运行时执行
        //Screen.SetResolution((int)TypeDefine.UIScreenSize.x, (int)TypeDefine.UIScreenSize.y, FullScreenMode.Windowed);

        // 禁止全屏切换（可选）
        Screen.fullScreen = false;
    }
#endif
}